# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class BackupPlanAttributes(object):

    def __init__(self, backupPlanName=None, backupPlanId=None, backupPlanStatus=None, errorMessages=None, sourceEngine=None, servicePackage=None, createTime=None, charge=None, backupType=None, enableBackupLogs=None, logBackupRetentionPeriod=None, fullBackupRetentionPeriod=None, fullBackupSchedule=None, sourceEndpoint=None, backupObjects=None):
        """
        :param backupPlanName: (Optional) 备份计划名称
        :param backupPlanId: (Optional) 备份计划Id
        :param backupPlanStatus: (Optional) 备份计划状态
        :param errorMessages: (Optional) 备份计划状态原因，仅状态为ERROR时返回；其他状态时返回空字符串
        :param sourceEngine: (Optional) 源实例引擎类型
        :param servicePackage: (Optional) DBS服务包类型是枚举值， dbs.common.package 表示基础服务包，不含备份流量
        :param createTime: (Optional) 备份计划创建时间, UTC 时间格式
        :param charge: (Optional) 计费信息
        :param backupType: (Optional) 备份方式
        :param enableBackupLogs: (Optional) 是否开启日志备份；true：开启；false：关闭
        :param logBackupRetentionPeriod: (Optional) 日志备份保存天数，支持7-3650 天，默认7天
        :param fullBackupRetentionPeriod: (Optional) 全量备份保存天数，支持7-3650 天，默认7天
        :param fullBackupSchedule: (Optional) 全量备份的备份周期
        :param sourceEndpoint: (Optional) 备份目标的详细信息
        :param backupObjects: (Optional) 逻辑备份中要备份的对象的信息，物理备份无须该信息
        """

        self.backupPlanName = backupPlanName
        self.backupPlanId = backupPlanId
        self.backupPlanStatus = backupPlanStatus
        self.errorMessages = errorMessages
        self.sourceEngine = sourceEngine
        self.servicePackage = servicePackage
        self.createTime = createTime
        self.charge = charge
        self.backupType = backupType
        self.enableBackupLogs = enableBackupLogs
        self.logBackupRetentionPeriod = logBackupRetentionPeriod
        self.fullBackupRetentionPeriod = fullBackupRetentionPeriod
        self.fullBackupSchedule = fullBackupSchedule
        self.sourceEndpoint = sourceEndpoint
        self.backupObjects = backupObjects
